package com.woniuxy.health.report.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.health.commons.entity.ReportResult;
import com.woniuxy.health.report.mapper.ReportResultMapper;
import com.woniuxy.health.report.service.ReportResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReportResultImpl extends ServiceImpl<ReportResultMapper, ReportResult> implements ReportResultService {

    @Autowired
    private ReportResultMapper reportResultMapper;

    @Override
//    public List<ReportResult> findReportResultByReportId(int report_id) {
//        return reportResultMapper.findReportResultByReportId(report_id);
//    }
    public ReportResult findReportResultByReportId(int report_id) {
        return reportResultMapper.findReportResultByReportId(report_id);
    }
}
